package cn.cloud.all.security.authentication;

import cn.cloud.all.security.core.Authentication;
import cn.cloud.all.security.core.AuthenticationException;

public interface AuthenticationEventPublisher {

    void publishAuthenticationSuccess(Authentication authentication);

    void publishAuthenticationFailure(AuthenticationException exception, Authentication authentication);
}
